Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Relax dependency versions #243

Merged
merged 5 commits into from
Nov 25, 2024

Conversation

Mrmaxmeier
Copy link
Contributor

Hi,

I'm considering using zip2 in a project that has a downstream pin to aes =0.8.3 but zip2 requires aes ^0.8.4.

It seems like your current strategy is to periodically bump dependency versions to the latest versions, even for SemVer-compatible releases. Is this a measure to ensure that security-critical bugfixes are always picked up when using recent versions of zip2? If not: Would you be fine with more relaxed version bounds for zip2's dependencies?

In this PR I've added a CI job that tests the project with the lowest-compatible dependency versions (cargo update -Zminimal-versions), bumped an outdated dev-dependency that breaks builds with minimal versions, and relaxed versions of the project's dependencies where appropriate.

Feel free to merge or close 🙃
Thanks!

Pr0methean
Pr0methean previously approved these changes Nov 19, 2024
@Pr0methean Pr0methean changed the title Relax dependency versions deps: Relax dependency versions Nov 19, 2024
@Pr0methean Pr0methean added this pull request to the merge queue Nov 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Nov 19, 2024
These relaxed bounds don't impact existing builds as they're all SemVer
compatible. Specifying lower bounds allows projects with dependencies
that pin
these to lower versions do build without version resolution conflicts.
Cargo.toml Outdated Show resolved Hide resolved
@Pr0methean Pr0methean added this pull request to the merge queue Nov 25, 2024
Merged via the queue into zip-rs:master with commit 810d18a Nov 25, 2024
39 checks passed
@Mrmaxmeier Mrmaxmeier deleted the relax-dependency-versions branch November 25, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants